Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Utility Functions /


JMGetCurrentEnv

Returns the current JRIEnv data structure.

struct JRIEnv* JMGetCurrentEnv (JMSessionRef session);
session
The current session.
function result
A pointer to the JRIEnv data structure.
DISCUSSION
The JMGetCurrentEnv function allows you to obtain the current Java Runtime Interface (JRI). Once you have the JRIEnv structure, you can call JRI functions. The data structure JRIEnv is defined in the header file JRI.h.

SEE ALSO
"Executing Java Applications" (page 31).

Documentation for the Java Runtime Interface at

http://developer.netscape.com/


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997